/**
 * Created by qingxi on 2017/1/12.
 */
define(['app','angular','angularAMD'],function(app, angular, angularAMD){
    app.config(function($routeProvider,$locationProvider){
        $routeProvider
            .when('/home/sitenav',angularAMD.route({
                templateUrl: 'tpls/categoryNav.html',
                controller: 'navCtrl',
                controllerUrl:'module/categoryNav/controller'
            }))
            .when('/home/gsproduct',angularAMD.route({
                templateUrl:'tpls/gsproduct.html',
                controller:'gsproductCtrl',
                controllerUrl:'module/categoryNav/controller'
            }))
    })
})
